gpio: pin 28 (bank/mask = 0/0x10000000)
gpio: pin 28 (gpio 28) value is 0
gpio: pin 28 (bank/mask = 0/0x10000000)
gpio: pin 28 (gpio 28) value is 1
gpio: pin 0 (bank/mask = 0/0x00000001)
gpio: pin 0 (gpio 0) value is 1
gpio: pin 9 (bank/mask = 0/0x00000200)
gpio: pin 9 (gpio 9) value is 0
gpio: pin 9 (bank/mask = 0/0x00000200)
gpio: pin 9 (gpio 9) value is 1
1357836 bytes read in 192 ms (6.7 MiB/s)
## Starting application at 0x3FF775C4 ...
## Application terminated, rc = 0x0
4269632 bytes read in 317 ms (12.8 MiB/s)
21199 bytes read in 114 ms (180.7 KiB/s)
## Booting kernel from Legacy Image at 00007fc0 ...
   Image Name:   Linux-4.12.0-rc2-dirty
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4269568 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x00000100
   XIP Kernel Image ... OK
OK
   reserving fdt memory region: addr=0 size=1000
   Loading Device Tree to 03ff7000, end 03fff2ce ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.12.0-rc2-dirty (jd@ubuntu) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #1 SMP Mon May 22 10:38:09 PDT 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: (null)
Memory policy: Data cache writealloc
percpu: Embedded 16 pages/cpu @9fbc6000 s35712 r8192 d21632 u65536
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait mem=512M
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 508644K/524288K available (7168K kernel code, 457K rwdata, 1368K rodata, 1024K init, 152K bss, 15644K reserved, 0K cma-reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xa0800000 - 0xff800000   (1520 MB)
    lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .text : 0x80008000 - 0x80800000   (8160 kB)
      .init : 0x80a00000 - 0x80b00000   (1024 kB)
      .data : 0x80b00000 - 0x80b7243c   ( 458 kB)
       .bss : 0x80b78818 - 0x80b9ec14   ( 153 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
ftrace: allocating 23295 entries in 69 pages
Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x46060001
GIC: PPI13 is secure or misconfigured
GIC: PPI13 is secure or misconfigured
clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
Switching to timer-based delay loop, resolution 10ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 1 CPU
SMP: Total of 1 processors activated (200.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
altera_gpio ff200160.gpio: altr,interrupt-type value not set in device tree
/soc/bus@0ff200000/gpio@0160: registration failed with status -22
altera_gpio: probe of ff200160.gpio failed with error -22
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
FPGA manager framework
clocksource: Switched to clocksource timer1
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: no interrupt-affinity property for /soc/pmu, guessing.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
workingset: timestamp_bits=30 max_order=17 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
ntfs: driver 2.1.32 [Flags: R/W].
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
dma-pl330 ffe01000.pdma: Loaded driver for PL330 DMAC-341330
dma-pl330 ffe01000.pdma:        DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
socfpga-reset ffd05000.rstmgr: missing altr,modrst-offset property, assuming 0x10!
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
console [ttyS0] disabled
ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 42, base_baud = 6250000) is a 16550A
console [ttyS0] enabled
ff200140.serial: ttyAL0 at MMIO 0xff200140 (irq = 46, base_baud = 6250000) is a Altera UART
ff200120.serial: ttyAL1 at MMIO 0xff200120 (irq = 47, base_baud = 6250000) is a Altera UART
ff200100.serial: ttyAL2 at MMIO 0xff200100 (irq = 48, base_baud = 6250000) is a Altera UART
ff2000e0.serial: ttyAL3 at MMIO 0xff2000e0 (irq = 49, base_baud = 6250000) is a Altera UART
ff2000c0.serial: ttyAL4 at MMIO 0xff2000c0 (irq = 50, base_baud = 6250000) is a Altera UART
ff2000a0.serial: ttyAL5 at MMIO 0xff2000a0 (irq = 51, base_baud = 6250000) is a Altera UART
ff200080.serial: ttyAL6 at MMIO 0xff200080 (irq = 52, base_baud = 6250000) is a Altera UART
ff200060.serial: ttyAL7 at MMIO 0xff200060 (irq = 53, base_baud = 6250000) is a Altera UART
brd: module loaded
spi_altera ff200040.spi: base a08da040, irq 54
spi_altera ff200020.spi: base a08dc020, irq 55
libphy: Fixed MDIO Bus: probed
CAN device driver interface
socfpga-dwmac ff702000.ethernet: PTP uses main clock
stmmac - user ID: 0x10, Synopsys ID: 0x37
socfpga-dwmac ff702000.ethernet: Ring mode enabled
socfpga-dwmac ff702000.ethernet: DMA HW capability register supported
socfpga-dwmac ff702000.ethernet: Enhanced/Alternate descriptors
socfpga-dwmac ff702000.ethernet: Enabled extended descriptors
socfpga-dwmac ff702000.ethernet: RX Checksum Offload Engine supported
socfpga-dwmac ff702000.ethernet: COE Type 2
socfpga-dwmac ff702000.ethernet: TX Checksum insertion supported
socfpga-dwmac ff702000.ethernet: Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
socfpga-dwmac ff702000.ethernet (unnamed net_device) (uninitialized): PHY ID 00221622 at 2 IRQ POLL (stmmac-0:02) active
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
Synopsys Designware Multimedia Card Interface Driver
dw_mmc ff704000.dwmmc0: IDMAC supports 32-bit address mode.
dw_mmc ff704000.dwmmc0: Using internal DMA controller.
dw_mmc ff704000.dwmmc0: Version ID is 240a
dw_mmc ff704000.dwmmc0: DW MMC controller at irq 31,32 bit host data width,1024 deep fifo
mmc_host mmc0: card is polling.
mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 400000Hz, actual 400000HZ div = 250)
dw_mmc ff704000.dwmmc0: 1 slots initialized
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using arm/armv7-ca9
NET: Registered protocol family 10
Segment Routing with IPv6
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20170425 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20170425)
can: broadcast manager protocol (rev 20170425 t)
can: netlink gateway (rev 20170425) max_hops=1
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
ThumbEE CPU extension supported.
Registering SWP/SWPB emulation handler
ttyS0 - failed to request DMA
Waiting for root device /dev/mmcblk0p2...
mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 52000000Hz, actual 50000000HZ div = 2)
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 MMC04G 3.66 GiB
mmcblk0boot0: mmc0:0001 MMC04G partition 1 1.00 MiB
mmcblk0boot1: mmc0:0001 MMC04G partition 2 1.00 MiB
 mmcblk0: p1 p2 p3
EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
random: fast init done
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udevd[82]: starting version 182
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... Micrel KSZ9031 Gigabit PHY stmmac-0:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:02, irq=-1)
socfpga-dwmac ff702000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
socfpga-dwmac ff702000.ethernet eth0: registered PTP clock
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
done.
Starting rpcbind daemon...done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thu Jan 12 10:25:00 UTC 2017
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting atd: OK
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
creating NFS state directory: done
NFS daemon support not enabled in kernel
Starting system log daemon...0
Starting kernel log daemon...0
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]
 * Starting Avahi Unicast DNS Configuration Daemon: avahi-dnsconfd       [ ok ]
Starting Lighttpd Web Server: lighttpd.
Starting crond: OK
Starting Network Interface Plugging Daemon: eth0.

